package service;

import java.util.List;

import entity.FinancingProduct;

public interface FinancingProductService {
	
	public List<FinancingProduct> getAllFinancingProduct(String id ,String risk);
	public int count(String id); //按id查询
	public int addFinancingProduct(FinancingProduct finPro);
	
	/**
	 * 条件查询和分页
	 * @param id
	 * @param risk
	 * @param startNum 起始记录数
	 * @param pageSize 每页显示几笔
	 * @return
	 */
	public List<FinancingProduct> getAllFinancingProduct(String id ,Integer risk,Integer startNum ,Integer pageSize); //查询全部
	public int getFinancingProductCount();
}
